 <?php 
  
$attributes = array('class' => 'CreateCategory', 'id' => 'CreateCategory');
echo form_open('admin/EditCategory/'.$this->uri->segment(3).'/'.$this->uri->segment(4), $attributes);
echo "<div class=\"error\" >".$this->validation->error_string."</div>";
//echo form_hidden('start', '1');
 ?>
<table width="100%" border="0">
 <tr>
      <td width="32%">&nbsp;</td>
      <td width="68%">&nbsp;</td>
  </tr>
  <tr>
    <td>Parent Category</td>
    <td><?=$categories?>&nbsp;</td>
  </tr>
  
  <tr>
    <td>Category</td>
    <td>
   
    	<input type="text" name="category" id="category" value="<?=$cat?>" />
     
         
     </td>
  </tr>
    
  <tr>
      <td>&nbsp;</td>
      <td><?=form_submit("save", "Save!")?>&nbsp;<?=form_reset("reset","Reset")?></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>
<?=form_close()?>
    
   